<?php
declare (strict_types = 1);

namespace app\controller\admin;

use think\Request;
use app\traits\MyControllerTrait;

class HomeController
{
    use MyControllerTrait;
    protected string $url = '/admin/home';

    public function index()
    {
        $data = [
            'title' => '首页',
            'menus' => $this->getMenuNav(),
        ];
        return view($this->url.'/'.__FUNCTION__, $data);
    }
}
